package org.pointex.controller;

import javax.servlet.http.HttpServletRequest;

import org.pointex.common.controller.BaseController;
import org.pointex.common.model.ParamObject;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 
 * @ClassName: ProductController  
 * @Description: TODO(这里用一句话描述这个类的作用)  
 * @author Kenny_Z' szqiuk@gmail.com
 * @date 2016年10月23日 下午9:18:34  
 *
 */
@Controller
public class UserLoginController extends BaseController {
    @RequestMapping(value = {"/" })
	public String redirectIndex(HttpServletRequest request,ParamObject obj){
		request.setAttribute("uid", obj.getUid());
		request.setAttribute("name", obj.getName());
		request.setAttribute("sign", obj.getSign());
		return "redirect:/View/index";
	}	
}
